package com.ebt.m.cloud.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;

/**
 *
 */

@Entity(nameInDb = "MyDownloadThreadInfoLocal")
public class MyDownloadThreadInfoLocal {
    @Property(nameInDb = "id")
    @Id
    private long id;
    private int threadId;
    private int downloadInfoId;
    private String uri;
    private long start;
    private long end;
    private long progress;
    @Generated(hash = 1647748598)
    public MyDownloadThreadInfoLocal(long id, int threadId, int downloadInfoId,
            String uri, long start, long end, long progress) {
        this.id = id;
        this.threadId = threadId;
        this.downloadInfoId = downloadInfoId;
        this.uri = uri;
        this.start = start;
        this.end = end;
        this.progress = progress;
    }
    @Generated(hash = 376160539)
    public MyDownloadThreadInfoLocal() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public int getThreadId() {
        return this.threadId;
    }
    public void setThreadId(int threadId) {
        this.threadId = threadId;
    }
    public int getDownloadInfoId() {
        return this.downloadInfoId;
    }
    public void setDownloadInfoId(int downloadInfoId) {
        this.downloadInfoId = downloadInfoId;
    }
    public String getUri() {
        return this.uri;
    }
    public void setUri(String uri) {
        this.uri = uri;
    }
    public long getStart() {
        return this.start;
    }
    public void setStart(long start) {
        this.start = start;
    }
    public long getEnd() {
        return this.end;
    }
    public void setEnd(long end) {
        this.end = end;
    }
    public long getProgress() {
        return this.progress;
    }
    public void setProgress(long progress) {
        this.progress = progress;
    }

}
